﻿using AutoMapper;
using BCDto.Common.WebsiteConfiguration;
using BCEntity.Common.WebsiteConfiguration;

namespace BCService.MapperProfiles.Common.WebsiteConfiguration
{
    public class WebsiteConfigurationProfile:Profile
    {
        public WebsiteConfigurationProfile()
        {
            CreateMap<WebsiteConfigurationEntity, WebsiteConfigurationDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WebsiteConfigurationDto, WebsiteConfigurationEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WebsiteConfigurationPutDto, WebsiteConfigurationEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
